package com.m1905.lib.download.model;

import com.m1905.lib.download.listener.OnCmdCompletedListener;

import java.util.List;

/**
 * @author wanghao
 * @date 2024/3/19.
 * @des
 */
public class DataWrapper {
    private int cmd;
    private List<DownloadDBItem> data;
    private OnCmdCompletedListener listener;

    public DataWrapper(int cmd, List<DownloadDBItem> data, OnCmdCompletedListener listener) {
        this.cmd = cmd;
        this.data = data;
        this.listener = listener;
    }

    public int getCmd() {
        return cmd;
    }

    public List<DownloadDBItem> getData() {
        return data;
    }

    public OnCmdCompletedListener getListener() {
        return listener;
    }

}
